package com.Test0;

/**
 * @Auther: shiquan
 * @Date: 2024/10/24 - 10 - 24 -11:04
 */
public class Student extends Person{
    private String studentNo;

    public Student(String studentNo) {
        this.studentNo = studentNo;
    }

    public Student(int age, String name, char gender, String studentNo) {
        super(age, name, gender);
        this.studentNo = studentNo;
    }
    public void study() {
        System.out.println(this.getName()+"在学习。。。");
    }
}
